Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images/gentoo.yaml: prepare for dracut-106's hostonly change #868

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

juippis
Copy link
Contributor

@juippis juippis commented Feb 5, 2025

Summary from the Gentoo News item:
"Starting with version 106 of sys-kernel/dracut the default for the "hostonly" setting has changed from disabled to enabled when Dracut is invoked via installkernel.

"hostonly" is a setting for Dracut that controls how much is included in the generated initramfs image. When it is disabled Dracut aims to generate an initramfs image that is bootable on any hardware. On the other hand, when this setting is enabled, Dracut aims to generate an initramfs image containing only what is needed to boot the current system. The advantage is a significantly smaller initramfs images, but this comes with the cost of losing portability."

dracut-ng/dracut-ng#1158
https://www.gentoo.org/support/news-items/2025-02-03-dracut-hostonly.html

Note:

  • This change is relevant only for the vm variant images.
  • It will take a while before dracut-106 is stabilized and therefore used by distrobuilder.

Quoting from the Gentoo News item:
"Starting with version 106 of sys-kernel/dracut the default for the "hostonly"
setting has changed from disabled to enabled when Dracut is invoked via
installkernel.

"hostonly" is a setting for Dracut that controls how much is included in the
generated initramfs image. When it is disabled Dracut aims to generate an
initramfs image that is bootable on any hardware. On the other hand, when this
setting is enabled, Dracut aims to generate an initramfs image containing only
what is needed to boot the current system. The advantage is a significantly
smaller initramfs images, but this comes with the cost of losing portability."

dracut-ng/dracut-ng#1158
https://www.gentoo.org/support/news-items/2025-02-03-dracut-hostonly.html

This change is relevant only for the vm variant images.

Signed-off-by: Joonas Niilola <[email protected]>
@stgraber stgraber merged commit 46eb5ae into lxc:main Feb 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants